#include <OMKControlTakeOverPrm.h>
Inheritance diagram for OMK::Type::ControlTakeOverPrm:
Constructors and destructor. | |
ControlTakeOverPrm () | |
Default constructor of ControlTakeOverPrm. | |
ControlTakeOverPrm (const ControlTakeOverPrm &ref) | |
Copy constructor of ControlTakeOverPrm. | |
ControlTakeOverPrm (const Name &id, const Name &secondId) | |
Constructor of ControlTakeOverPrm with all the parameters. | |
ControlTakeOverPrm (const Name &id, const Name &secondId, const AccessGroupLevel &accessGroup) | |
Constructor of ControlTakeOverPrm with all the parameters. | |
virtual | ~ControlTakeOverPrm () |
Destructor of ControlTakeOverPrm. | |
ControlTakeOverPrm & | operator= (const ControlTakeOverPrm &ref) |
Copy operator. | |
Public Attributes | |
Public member | |
AccessGroupLevel | _accessGroup |
This member holds the accessGroup values of ControlTakeOverPrm. | |
Protected Member Functions | |
void | _copy (const ControlTakeOverPrm &q) |
Copy. | |
Friends | |
class | OMK::ParametersAccessor |
Friend parametor accessor. | |
Friend compare operators. | |
OMKIII_API bool | operator!= (const ControlTakeOverPrm &c0, const ControlTakeOverPrm &c1) |
Inequality operator for ControlTakeOverPrm. | |
OMKIII_API bool | operator== (const ControlTakeOverPrm &c0, const ControlTakeOverPrm &c1) |
Equality operator for ControlTakeOverPrm. | |
Friend stream operators. | |
std::ostream & | operator<< (std::ostream &out, const ControlTakeOverPrm &c) |
stream operator for ControlTakeOverPrm. | |
std::istream & | operator>> (std::istream &in, ControlTakeOverPrm &c) |
stream operator for ControlTakeOverPrm. | |
OMK::OutgoingSynchronisationMessage & | operator<< (OMK::OutgoingSynchronisationMessage &out, const ControlTakeOverPrm &c) |
stream operator for ControlTakeOverPrm. | |
OMK::IncomingSynchronisationMessage & | operator>> (OMK::IncomingSynchronisationMessage &in, ControlTakeOverPrm &c) |
stream operator for ControlTakeOverPrm. |
myObject { Class ObjectWhichUsesControlTakeOverPrm ... // Scheduling partameters UserParams { First // Hierarchical { // Optional parameters Id "id" SecondId "id" AccessGroup [ [ "string" <int> ] ... ] } Second [ "id" "id" [ [ "string" <int> ] ... ] ] ... //other object parameters } ... // Extensions partameters }
OMK::Type::ControlTakeOverPrm _first ; OMK::Type::ControlTakeOverPrm _second ; OMK::ParametersAccessor::get( node, "First", _first ) ; OMK::ParametersAccessor::get( node, "Second", _second ) ;
Definition at line 507 of file OMKControlTakeOverPrm.h.
ControlTakeOverPrm::ControlTakeOverPrm | ( | ) |
Default constructor of ControlTakeOverPrm.
Definition at line 345 of file OMKControlTakeOverPrm.cpp.
00346 : OMK::Type::TwoIdsPrm(), 00347 _accessGroup() 00348 { 00349 }
ControlTakeOverPrm::ControlTakeOverPrm | ( | const ControlTakeOverPrm & | ref | ) |
Copy constructor of ControlTakeOverPrm.
Definition at line 353 of file OMKControlTakeOverPrm.cpp.
References _copy().
00354 : OMK::Type::TwoIdsPrm(), 00355 _accessGroup() 00356 { 00357 _copy( ref ) ; 00358 }
Constructor of ControlTakeOverPrm with all the parameters.
Definition at line 362 of file OMKControlTakeOverPrm.cpp.
00363 : OMK::Type::TwoIdsPrm( id, secondId ), 00364 _accessGroup() 00365 { 00366 }
ControlTakeOverPrm::ControlTakeOverPrm | ( | const Name & | id, | |
const Name & | secondId, | |||
const AccessGroupLevel & | accessGroup | |||
) |
Constructor of ControlTakeOverPrm with all the parameters.
Definition at line 370 of file OMKControlTakeOverPrm.cpp.
00372 : OMK::Type::TwoIdsPrm( id, secondId ), 00373 _accessGroup( accessGroup ) 00374 { 00375 }
ControlTakeOverPrm::~ControlTakeOverPrm | ( | ) | [virtual] |
ControlTakeOverPrm & ControlTakeOverPrm::operator= | ( | const ControlTakeOverPrm & | ref | ) |
Copy operator.
Definition at line 385 of file OMKControlTakeOverPrm.cpp.
References _copy().
00386 { 00387 if ( this != &ref ) 00388 { 00389 _copy( ref ) ; 00390 } 00391 return *this ; 00392 }
void ControlTakeOverPrm::_copy | ( | const ControlTakeOverPrm & | q | ) | [protected] |
Copy.
Definition at line 396 of file OMKControlTakeOverPrm.cpp.
References _accessGroup, and OMK::Type::TwoIdsPrm::_copy().
Referenced by ControlTakeOverPrm(), and operator=().
00397 { 00398 OMK::Type::TwoIdsPrm::_copy( ref ) ; 00399 _accessGroup = ref._accessGroup ; 00400 }
friend class OMK::ParametersAccessor [friend] |
Friend parametor accessor.
Reimplemented from OMK::Type::TwoIdsPrm.
Definition at line 548 of file OMKControlTakeOverPrm.h.
OMKIII_API bool operator!= | ( | const ControlTakeOverPrm & | c0, | |
const ControlTakeOverPrm & | c1 | |||
) | [friend] |
Inequality operator for ControlTakeOverPrm.
Definition at line 409 of file OMKControlTakeOverPrm.cpp.
00410 { 00411 return (OMK::Type::TwoIdsPrm)c0 != (OMK::Type::TwoIdsPrm)c1 00412 || c0._accessGroup != c1._accessGroup ; 00413 }
OMKIII_API bool operator== | ( | const ControlTakeOverPrm & | c0, | |
const ControlTakeOverPrm & | c1 | |||
) | [friend] |
std::ostream& operator<< | ( | std::ostream & | out, | |
const ControlTakeOverPrm & | c | |||
) | [friend] |
stream operator for ControlTakeOverPrm.
Use by SimpleTypeT::insertInStream.
Definition at line 421 of file OMKControlTakeOverPrm.cpp.
00422 { 00423 out << (OMK::Type::TwoIdsPrm)c 00424 << c._accessGroup << " " 00425 << " " ; 00426 return out ; 00427 }
std::istream& operator>> | ( | std::istream & | in, | |
ControlTakeOverPrm & | c | |||
) | [friend] |
stream operator for ControlTakeOverPrm.
Use by SimpleTypeT::extract.
Definition at line 431 of file OMKControlTakeOverPrm.cpp.
00432 { 00433 in >> (OMK::Type::TwoIdsPrm&)c 00434 >> c._accessGroup ; 00435 return in ; 00436 }
OMK::OutgoingSynchronisationMessage& operator<< | ( | OMK::OutgoingSynchronisationMessage & | out, | |
const ControlTakeOverPrm & | c | |||
) | [friend] |
stream operator for ControlTakeOverPrm.
Use by SimpleTypeT::pack.
Definition at line 440 of file OMKControlTakeOverPrm.cpp.
00441 { 00442 out << (OMK::Type::TwoIdsPrm)c 00443 << c._accessGroup ; 00444 return out ; 00445 }
OMK::IncomingSynchronisationMessage& operator>> | ( | OMK::IncomingSynchronisationMessage & | in, | |
ControlTakeOverPrm & | c | |||
) | [friend] |
stream operator for ControlTakeOverPrm.
Use by SimpleTypeT::unpack.
Definition at line 449 of file OMKControlTakeOverPrm.cpp.
00450 { 00451 in >> (OMK::Type::TwoIdsPrm&)c 00452 >> c._accessGroup ; 00453 return in ; 00454 }
This member holds the accessGroup values of ControlTakeOverPrm.
Definition at line 533 of file OMKControlTakeOverPrm.h.
Referenced by _copy(), OMK::Type::operator!=(), operator<<(), and operator>>().
Documentation generated on Mon Jun 9 11:46:05 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |