: Public Class

Created: | 2015-07-31 오후 4:10:04
Modified: | 2015-07-31 오후 4:10:04
Project: |
Author: | shint
Version: | 1.0
Phase: | 1.0
Status: | Proposed
Complexity: | Easy
Difficulty: |
Priority: |
Multiplicity: |
Advanced: |
UUID: | {0F0FFCE4-FC88-4cc9-A1FA-F376B37BAA0A}
Appears In: | Package1

- Attributes
- Operations
- Associations To
- Associations From
- Other Links

Attribute
Private int _baudRate
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False
Private DWORD _comError
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False
Private HANDLE _comHandle
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False
Private char _dataBits
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False
Private char _flowControl
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False
Private char _parity
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False
Private char _portName
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False
Private char _stopBits
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False

Operation
Public ChangeBaudrate( baudRate: int,
Default: |
Kind: | in
Stereotype: |
):int
Details: Sequential
Public Close():bool
Details: Sequential
Public CountRxQueue():int
Details: Sequential
Public CSerialCOM( portName: char*,
Default: |
Kind: | in
Stereotype: |
baudRate: int,
Default: |
Kind: | in
Stereotype: |
dataBits: char,
Default: | 8
Kind: | in
Stereotype: |
parity: char,
Default: | NOPARITY
Kind: | in
Stereotype: |
stopBits: char,
Default: | ONESTOPBIT
Kind: | in
Stereotype: |
flowControl: char,
Default: | 0
Kind: | in
Stereotype: |
):
Details: Sequential
Tags: | initializer=_baudRate(baudRate),_dataBits(dataBits),_stopBits(stopBits),_parity(parity),_flowControl(flowControl)
Public ~CSerialCOM():
Details: Sequential
Public Flush():void
Details: Sequential
Public GetLastError():DWORD
Details: Sequential
Public const GetLastErrorString():char *
Details: Sequential
Public IsOpened():bool
Details: Sequential
Tags: | bodyLocation=classDec
Public Open():bool
Details: Sequential
Public Read( data: char*,
Default: |
Kind: | in
Stereotype: |
maxDataLength: int,
Default: |
Kind: | in
Stereotype: |
):int
Details: Sequential
Public SetTimeout( readTimeout: int,
Default: |
Kind: | in
Stereotype: |
writeTimeout: int,
Default: |
Kind: | in
Stereotype: |
readIntervalTimeout: int,
Default: |
Kind: | in
Stereotype: |
):bool
Details: Sequential
Public Write( data: char*,
Default: |
Kind: | in
Stereotype: |
dataLength: int,
Default: |
Kind: | in
Stereotype: |
):int
Details: Sequential

Element | Source Role | Target Role
«typedef» DWORD Class | Name: | Name: _comError
Details:

Element | Source Role | Target Role
DeviceManager Class | Name: | Name: _serial_gyro
Details:
DeviceManager Class | Name: | Name: _serial_hall
Details:
DeviceManager Class | Name: | Name: _serial_vehicle
Details:
CFiberOpticGyro Class | Name: | Name: _serial
Details:
CHallSensor Class | Name: | Name: _serial
Details:
CMobility Class | Name: | Name: _serial
Details:

Object | Type | Connection | Direction | Notes
CDeviceLock | Class | Generalization | To |