VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions
DtOrientationOutputPort Class Reference

Instances of DtOrientationOutputPort are output ports through which data producers can send a DtTaitBryan. More...

Inheritance diagram for DtOrientationOutputPort:
Inheritance graph
[legend]

Public Member Functions

 DtOrientationOutputPort (const DtString &portName)
virtual ~DtOrientationOutputPort ()
virtual const DtString type () const
virtual void createPortData ()
 Creates a DtOrientationPortData.
virtual void setValue (const DtTaitBryan &data)
 Sets a value to the port, and sends the data if it is different from the current value.
virtual DtTaitBryan value () const
 Return the current value.
- Public Member Functions inherited from DtOutputPort
 DtOutputPort (const DtString &portName)
 Constructor.
virtual ~DtOutputPort ()
 Destructor.
virtual bool init ()
 Call after the constructor.
virtual const DtStringname () const
 Returns the string name of this port.
virtual void sendData ()
 Sends the contents of myData to all connections.
virtual void addConnection (DtPortConnection *conn)
 Add a connection to the outgoing connection list.
virtual void removeConnection (DtPortConnection *conn)
 Remove a connection from the outgoing connection list.
virtual bool attemptToActivate ()
 Calls attemptToActivate on all connections in the connection list and returns true if any one of them was able to activate.
virtual bool attemptToActivateAtLowestPriority ()
 Calls attemptToActivate on all connections in the connection list and returns true if any one of them was able to activate, but will not override data from any others and will allow deactivation in the case another wants to provide data.
virtual bool canActivate () const
 Calls canActivate on all connections in the connection list and returns true if any one of them can be activated.
virtual void deactivate ()
 Calls deactivate on all connections in the connection list.
virtual void allowDeactivation ()
 Calls allowDeactivation on all connections in the connection list.
virtual bool active () const
 Returns true if any one of the outgoing connection are active.
virtual const DtList * connectionList () const
 Returns the list of output connections to this port.
virtual void setConnectionPriority (int priority)
 Sets the priority of all existing outgoing connections from this port to the new priority.
virtual DtPortDatadata ()
 Returns a pointer to the underlying port.
virtual const DtPortDatadata () const
virtual bool enabled () const
 Enables/disables the port.
virtual void setEnabled (bool flag)

Private Member Functions

 DtOrientationOutputPort (const DtOrientationOutputPort &orig)
 copy constructor
const DtOrientationOutputPortoperator= (const DtOrientationOutputPort &orig)
 assignment operator

Additional Inherited Members

- Protected Attributes inherited from DtOutputPort
DtString myName
bool myEnabled
DtPortDatamyData
 locally instantiated.
DtList myConnectionList
 List of outgoing connections.

Detailed Description

Instances of DtOrientationOutputPort are output ports through which data producers can send a DtTaitBryan.

Constructor & Destructor Documentation

DtOrientationOutputPort::DtOrientationOutputPort ( const DtString portName)
virtual DtOrientationOutputPort::~DtOrientationOutputPort ( )
virtual
DtOrientationOutputPort::DtOrientationOutputPort ( const DtOrientationOutputPort orig)
private

copy constructor

Member Function Documentation

virtual const DtString DtOrientationOutputPort::type ( ) const
virtual
Returns
DtOrientationPortDataType

Implements DtOutputPort.

virtual void DtOrientationOutputPort::createPortData ( )
virtual

Creates a DtOrientationPortData.

Implements DtOutputPort.

virtual void DtOrientationOutputPort::setValue ( const DtTaitBryan &  data)
virtual

Sets a value to the port, and sends the data if it is different from the current value.

virtual DtTaitBryan DtOrientationOutputPort::value ( ) const
virtual

Return the current value.

const DtOrientationOutputPort& DtOrientationOutputPort::operator= ( const DtOrientationOutputPort orig)
private

assignment operator


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)